package com.my.hotel.service;

import com.my.hotel.entity.Order;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface TbOderService {
    public List<Order> getList(String order_num, String order_status, String user_id);
    /*//删除订单
      @Delete("delete from tb_order where id=#{id}")
      public void delOdr(int id);*/
    //预定
    public void preOdr(int id);
    //入住
    public void liveOdr(int id);
    //退房
    public void returnOdr(int id);
    //取消
    public void calOdr(int id);
}
